package com.zrf.testchatgpt.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 *
 * </p>
 *
 * @author zrf
 * @since 2023-03-15
 */
@TableName("user_employ")
public class UserEmploy implements Serializable {

    private static final long serialVersionUID = 1L;

      private Integer detailId;

    private String anserTitle;

    private String anserContent;

    private Integer userId;
    @TableField(value = "create_time",fill = FieldFill.INSERT)
    private LocalDateTime createTime;
    @TableField(value = "update_time",fill = FieldFill.UPDATE)
    private LocalDateTime updateTime;
    private String browse;

    public String getBrowse() {
        return browse;
    }

    public UserEmploy setBrowse(String browse) {
        this.browse = browse;
        return this;
    }

    public Integer getDetailId() {
        return detailId;
    }

      public void setDetailId(Integer detailId) {
          this.detailId = detailId;
      }

    public String getAnserTitle() {
        return anserTitle;
    }

      public void setAnserTitle(String anserTitle) {
          this.anserTitle = anserTitle;
      }

    public String getAnserContent() {
        return anserContent;
    }

      public void setAnserContent(String anserContent) {
          this.anserContent = anserContent;
      }

    public Integer getUserId() {
        return userId;
    }

      public void setUserId(Integer userId) {
          this.userId = userId;
      }

    public LocalDateTime getCreateTime() {
        return createTime;
    }

      public void setCreateTime(LocalDateTime createTime) {
          this.createTime = createTime;
      }

    public LocalDateTime getUpdateTime() {
        return updateTime;
    }

      public void setUpdateTime(LocalDateTime updateTime) {
          this.updateTime = updateTime;
      }

    @Override
    public String toString() {
        return "UserEmploy{" +
              "detailId=" + detailId +
                  ", anserTitle=" + anserTitle +
                  ", anserContent=" + anserContent +
                  ", userId=" + userId +
                  ", createTime=" + createTime +
                  ", updateTime=" + updateTime +
                  ", browse=" + browse +
              "}";
    }
}
